<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>kvDiagSample Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="kvaser.gif"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('structkv_diag_sample.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">kvDiagSample Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="kv_diag_8h_source.html">kvDiag.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a6cef1188df0b5529c925b53ae426610b"><td class="memItemLeft" >struct {</td></tr>
<tr class="memitem:aad880fc4455c253781e8968f2239d56f"><td class="memItemLeft" >&#160;&#160;&#160;int&#160;&#160;&#160;<a class="el" href="structkv_diag_sample.html#aad880fc4455c253781e8968f2239d56f">version</a></td></tr>
<tr class="memdesc:aad880fc4455c253781e8968f2239d56f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Struct version.  <a href="#aad880fc4455c253781e8968f2239d56f">More...</a><br /></td></tr>
<tr class="separator:aad880fc4455c253781e8968f2239d56f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab793262012344621455faf9266acbac2"><td class="memItemLeft" >&#160;&#160;&#160;int&#160;&#160;&#160;<a class="el" href="structkv_diag_sample.html#ab793262012344621455faf9266acbac2">seqno</a></td></tr>
<tr class="memdesc:ab793262012344621455faf9266acbac2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sequence number.  <a href="#ab793262012344621455faf9266acbac2">More...</a><br /></td></tr>
<tr class="separator:ab793262012344621455faf9266acbac2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac765329451135abec74c45e1897abf26"><td class="memItemLeft" >&#160;&#160;&#160;int&#160;&#160;&#160;<a class="el" href="structkv_diag_sample.html#ac765329451135abec74c45e1897abf26">type</a></td></tr>
<tr class="memdesc:ac765329451135abec74c45e1897abf26"><td class="mdescLeft">&#160;</td><td class="mdescRight">Analyzer type.  <a href="#ac765329451135abec74c45e1897abf26">More...</a><br /></td></tr>
<tr class="separator:ac765329451135abec74c45e1897abf26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6cef1188df0b5529c925b53ae426610b"><td class="memItemLeft" valign="top">}&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structkv_diag_sample.html#a6cef1188df0b5529c925b53ae426610b">header</a></td></tr>
<tr class="separator:a6cef1188df0b5529c925b53ae426610b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac86a8d638ef0cfbbc4c9fda9942c3df6"><td class="memItemLeft" >struct {</td></tr>
<tr class="memitem:a7441ef0865bcb3db9b8064dd7375c1ea"><td class="memItemLeft" >&#160;&#160;&#160;int&#160;&#160;&#160;<a class="el" href="structkv_diag_sample.html#a7441ef0865bcb3db9b8064dd7375c1ea">id</a></td></tr>
<tr class="memdesc:a7441ef0865bcb3db9b8064dd7375c1ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">CAN id.  <a href="#a7441ef0865bcb3db9b8064dd7375c1ea">More...</a><br /></td></tr>
<tr class="separator:a7441ef0865bcb3db9b8064dd7375c1ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee52de7b225665566aa47246b9d6b8fa"><td class="memItemLeft" >&#160;&#160;&#160;int64_t&#160;&#160;&#160;<a class="el" href="structkv_diag_sample.html#aee52de7b225665566aa47246b9d6b8fa">time</a></td></tr>
<tr class="memdesc:aee52de7b225665566aa47246b9d6b8fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">CPU ticks since device boot.  <a href="#aee52de7b225665566aa47246b9d6b8fa">More...</a><br /></td></tr>
<tr class="separator:aee52de7b225665566aa47246b9d6b8fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a511368d325b346716e874b6d878dad19"><td class="memItemLeft" >&#160;&#160;&#160;char&#160;&#160;&#160;<a class="el" href="structkv_diag_sample.html#a511368d325b346716e874b6d878dad19">data</a> [64]</td></tr>
<tr class="memdesc:a511368d325b346716e874b6d878dad19"><td class="mdescLeft">&#160;</td><td class="mdescRight">CAN data.  <a href="#a511368d325b346716e874b6d878dad19">More...</a><br /></td></tr>
<tr class="separator:a511368d325b346716e874b6d878dad19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf916204820072417ed73a32de1cefcf"><td class="memItemLeft" >&#160;&#160;&#160;int&#160;&#160;&#160;<a class="el" href="structkv_diag_sample.html#adf916204820072417ed73a32de1cefcf">flag</a></td></tr>
<tr class="memdesc:adf916204820072417ed73a32de1cefcf"><td class="mdescLeft">&#160;</td><td class="mdescRight">CAN flags, <a class="el" href="canstat_8h.html#a56000a3f22f1408c26db4dc731aa4a9e">canMSG_STD</a>, <a class="el" href="canstat_8h.html#ade936f23b4b303d64187b4c6589c9c10">canMSG_EXT</a>, <a class="el" href="canstat_8h.html#a687df04559a9995e0bec503655454eb3">canMSG_RTR</a>.  <a href="#adf916204820072417ed73a32de1cefcf">More...</a><br /></td></tr>
<tr class="separator:adf916204820072417ed73a32de1cefcf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c4c124b5735c7cd34682cb45760c538"><td class="memItemLeft" >&#160;&#160;&#160;int&#160;&#160;&#160;<a class="el" href="structkv_diag_sample.html#a6c4c124b5735c7cd34682cb45760c538">dlc</a></td></tr>
<tr class="memdesc:a6c4c124b5735c7cd34682cb45760c538"><td class="mdescLeft">&#160;</td><td class="mdescRight">CAN DLC.  <a href="#a6c4c124b5735c7cd34682cb45760c538">More...</a><br /></td></tr>
<tr class="separator:a6c4c124b5735c7cd34682cb45760c538"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac86a8d638ef0cfbbc4c9fda9942c3df6"><td class="memItemLeft" valign="top">}&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structkv_diag_sample.html#ac86a8d638ef0cfbbc4c9fda9942c3df6">msg</a></td></tr>
<tr class="separator:ac86a8d638ef0cfbbc4c9fda9942c3df6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a028e7a23cc3979d738320763b3e1a9d5"><td class="memItemLeft" >struct {</td></tr>
<tr class="memitem:abfcbbec26161f496aee0dd71366502e6"><td class="memItemLeft" >&#160;&#160;&#160;int64_t&#160;&#160;&#160;<a class="el" href="structkv_diag_sample.html#abfcbbec26161f496aee0dd71366502e6">startTime</a></td></tr>
<tr class="memdesc:abfcbbec26161f496aee0dd71366502e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Time of the first edge (start bit)  <a href="#abfcbbec26161f496aee0dd71366502e6">More...</a><br /></td></tr>
<tr class="separator:abfcbbec26161f496aee0dd71366502e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6755dc51cc03d549fce2d30c19665521"><td class="memItemLeft" >&#160;&#160;&#160;int&#160;&#160;&#160;<a class="el" href="structkv_diag_sample.html#a6755dc51cc03d549fce2d30c19665521">sampleFreq</a></td></tr>
<tr class="memdesc:a6755dc51cc03d549fce2d30c19665521"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clock frequency of the analyzer.  <a href="#a6755dc51cc03d549fce2d30c19665521">More...</a><br /></td></tr>
<tr class="separator:a6755dc51cc03d549fce2d30c19665521"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4df0c56a77270fc5a9aa651d214a76b8"><td class="memItemLeft" >&#160;&#160;&#160;int&#160;&#160;&#160;<a class="el" href="structkv_diag_sample.html#a4df0c56a77270fc5a9aa651d214a76b8">startValue</a></td></tr>
<tr class="memdesc:a4df0c56a77270fc5a9aa651d214a76b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Value prior to the first edge (start bit)  <a href="#a4df0c56a77270fc5a9aa651d214a76b8">More...</a><br /></td></tr>
<tr class="separator:a4df0c56a77270fc5a9aa651d214a76b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50dd4913191a6339ab1369a41ba3b2e1"><td class="memItemLeft" >&#160;&#160;&#160;int&#160;&#160;&#160;<a class="el" href="structkv_diag_sample.html#a50dd4913191a6339ab1369a41ba3b2e1">edgeCount</a></td></tr>
<tr class="memdesc:a50dd4913191a6339ab1369a41ba3b2e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of edges in <em>edgeTimes</em>.  <a href="#a50dd4913191a6339ab1369a41ba3b2e1">More...</a><br /></td></tr>
<tr class="separator:a50dd4913191a6339ab1369a41ba3b2e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab65eca6d0278db7a541d1064e317df3f"><td class="memItemLeft" >&#160;&#160;&#160;int&#160;&#160;&#160;<a class="el" href="structkv_diag_sample.html#ab65eca6d0278db7a541d1064e317df3f">edgeTimes</a> [8192]</td></tr>
<tr class="memdesc:ab65eca6d0278db7a541d1064e317df3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Time since previous edge in analyzer ticks at <em>sampleFreq</em>.  <a href="#ab65eca6d0278db7a541d1064e317df3f">More...</a><br /></td></tr>
<tr class="separator:ab65eca6d0278db7a541d1064e317df3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a028e7a23cc3979d738320763b3e1a9d5"><td class="memItemLeft" valign="top">}&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structkv_diag_sample.html#a028e7a23cc3979d738320763b3e1a9d5">sample</a></td></tr>
<tr class="separator:a028e7a23cc3979d738320763b3e1a9d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Output when using <a class="el" href="group__kvdiag__diagnostics.html#ga43a268ee89c38c3ac496d20f35a48105">kvDiagReadSample()</a> and <a class="el" href="group__kvdiag__diagnostics.html#gaab9b2bc0856a7200d1f76533092eb023">kvDiagReadSampleWait()</a>. </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a511368d325b346716e874b6d878dad19"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a511368d325b346716e874b6d878dad19">&#9670;&nbsp;</a></span>data</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char data[64]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CAN data. </p>

</div>
</div>
<a id="a6c4c124b5735c7cd34682cb45760c538"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c4c124b5735c7cd34682cb45760c538">&#9670;&nbsp;</a></span>dlc</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int dlc</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CAN DLC. </p>

</div>
</div>
<a id="a50dd4913191a6339ab1369a41ba3b2e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a50dd4913191a6339ab1369a41ba3b2e1">&#9670;&nbsp;</a></span>edgeCount</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int edgeCount</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Number of edges in <em>edgeTimes</em>. </p>

</div>
</div>
<a id="ab65eca6d0278db7a541d1064e317df3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab65eca6d0278db7a541d1064e317df3f">&#9670;&nbsp;</a></span>edgeTimes</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int edgeTimes[8192]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Time since previous edge in analyzer ticks at <em>sampleFreq</em>. </p>

</div>
</div>
<a id="adf916204820072417ed73a32de1cefcf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf916204820072417ed73a32de1cefcf">&#9670;&nbsp;</a></span>flag</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int flag</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CAN flags, <a class="el" href="canstat_8h.html#a56000a3f22f1408c26db4dc731aa4a9e">canMSG_STD</a>, <a class="el" href="canstat_8h.html#ade936f23b4b303d64187b4c6589c9c10">canMSG_EXT</a>, <a class="el" href="canstat_8h.html#a687df04559a9995e0bec503655454eb3">canMSG_RTR</a>. </p>

</div>
</div>
<a id="a6cef1188df0b5529c925b53ae426610b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6cef1188df0b5529c925b53ae426610b">&#9670;&nbsp;</a></span>header</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct { ... }   header</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a7441ef0865bcb3db9b8064dd7375c1ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7441ef0865bcb3db9b8064dd7375c1ea">&#9670;&nbsp;</a></span>id</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int id</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CAN id. </p>

</div>
</div>
<a id="ac86a8d638ef0cfbbc4c9fda9942c3df6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac86a8d638ef0cfbbc4c9fda9942c3df6">&#9670;&nbsp;</a></span>msg</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct { ... }   msg</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a028e7a23cc3979d738320763b3e1a9d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a028e7a23cc3979d738320763b3e1a9d5">&#9670;&nbsp;</a></span>sample</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct { ... }   sample</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a6755dc51cc03d549fce2d30c19665521"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6755dc51cc03d549fce2d30c19665521">&#9670;&nbsp;</a></span>sampleFreq</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int sampleFreq</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clock frequency of the analyzer. </p>

</div>
</div>
<a id="ab793262012344621455faf9266acbac2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab793262012344621455faf9266acbac2">&#9670;&nbsp;</a></span>seqno</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int seqno</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sequence number. </p>

</div>
</div>
<a id="abfcbbec26161f496aee0dd71366502e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abfcbbec26161f496aee0dd71366502e6">&#9670;&nbsp;</a></span>startTime</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int64_t startTime</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Time of the first edge (start bit) </p>

</div>
</div>
<a id="a4df0c56a77270fc5a9aa651d214a76b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4df0c56a77270fc5a9aa651d214a76b8">&#9670;&nbsp;</a></span>startValue</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int startValue</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Value prior to the first edge (start bit) </p>

</div>
</div>
<a id="aee52de7b225665566aa47246b9d6b8fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee52de7b225665566aa47246b9d6b8fa">&#9670;&nbsp;</a></span>time</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int64_t time</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CPU ticks since device boot. </p>

</div>
</div>
<a id="ac765329451135abec74c45e1897abf26"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac765329451135abec74c45e1897abf26">&#9670;&nbsp;</a></span>type</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int type</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Analyzer type. </p>

</div>
</div>
<a id="aad880fc4455c253781e8968f2239d56f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad880fc4455c253781e8968f2239d56f">&#9670;&nbsp;</a></span>version</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int version</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Struct version. </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="kv_diag_8h_source.html">kvDiag.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.13-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="structkv_diag_sample.html">kvDiagSample</a></li>
    <li class="footer"> (canlib 5.38) Tue Feb 15 2022</li>
  </ul>
</div>
</body>
</html>
